package com.showgood.view.component {
	import flash.display.Graphics;
	import flash.display.Sprite;
	
	/**
	 * 一个方块
	 * @author BianPeng
	 */
	public final class Square extends Sprite {
		public function Square(w:int=10,h:int=10, c:uint = 0){
			var _g:Graphics = this.graphics;
			_g.beginFill(0xffffff);
			_g.lineStyle(1, c);
			_g.drawRect( -w / 2, -h / 2, w, h);
			_g.endFill();
		}
	}
}
